{if $arrRelation}
    <div class="boxRelation">
        <div class="headerTitle"><h3>Nhật ký liên quan</h3></div>
        <div class="relationItem">
            <ul>
                {foreach key=i item=item from=$arrRelation}
                    <li{if $i==0} class="firstChild"{/if}>
                    	{if $item.image != ""}
                    		{image path=$item.image id=$item.blogid title=$item.title|escape type=3 small=2 class="border50 rFloat"} 
                        {/if}
                       	<h3><a href="{link_blog blogid=$item.blogid title=$item.title}">{$item.title}</a></h3>
                       	<p>{$item.short|str_wordwrap:150}...</p>
                    </li>
                {/foreach}
            </ul>
        </div>
    </div>
{/if}